import org.openjdk.jol.info.ClassLayout;

public class Main5 {
    public static void main(String[] args) {
        Object o = new Object();
        System.out.println(ClassLayout.parseInstance(o).toPrintable());
        System.out.println("============");
        synchronized (o) {
            System.out.println(ClassLayout.parseInstance(o).toPrintable());
            System.out.println("============");
        }
        synchronized (o) {
            System.out.println(ClassLayout.parseInstance(o).toPrintable());
            System.out.println("============");
            synchronized (o) {
                System.out.println(ClassLayout.parseInstance(o).toPrintable());
                System.out.println("============");
            }
        }
        System.out.println(ClassLayout.parseInstance(o).toPrintable());
        System.out.println("============");
    }

}
